﻿"use strict";
define(['framework/routerConfig'], function (router) {
    router.state("home", "business/home/home.html", "business/home/home");
    router.state("content","business/content/content.html","business/content/content");
    router.home("home")


    router.run(function ($rootScope, $state, $http) {
        $rootScope.mainPage = "business/portal/menu.html";
        $rootScope.mainCtrl = "business/portal/menuCtrl.js";
    });



    return function () {
        router.menu("main", ["home"], "home", "首页");
        router.menu("main", ["content"], "content", "内容");
    }
});